package com.blrs.domain;

import java.util.Date;

import com.blrs.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.blrs.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 项目变更对象 project_change
 * 
 * @author wangchao
 * @date 2023-12-06
 */
public class ProjectChange extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 项目类型 */
    private int projectType;

    /** 主键id */
    private String id;

    /** 项目id */
    @Excel(name = "项目id")
    private String projectId;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String projectNumber;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 变更内容 */
    @Excel(name = "变更内容")
    private String changedContent;

    /** 变更说明 */
    @Excel(name = "变更说明")
    private String changedNote;

    /** 变更人id */
    @Excel(name = "变更人id")
    private String userChangedId;

    /** 变更人 */
    @Excel(name = "变更人")
    private String userChanged;

    /** 变更时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "变更时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date changedTime;

    public void setProjectType(int projectType)
    {
        this.projectType = projectType;
    }

    public int getProjectType()
    {
        return projectType;
    }

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setProjectId(String projectId) 
    {
        this.projectId = projectId;
    }

    public String getProjectId() 
    {
        return projectId;
    }
    public void setProjectNumber(String projectNumber) 
    {
        this.projectNumber = projectNumber;
    }

    public String getProjectNumber() 
    {
        return projectNumber;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setChangedContent(String changedContent) 
    {
        this.changedContent = changedContent;
    }

    public String getChangedContent() 
    {
        return changedContent;
    }
    public void setChangedNote(String changedNote) 
    {
        this.changedNote = changedNote;
    }

    public String getChangedNote() 
    {
        return changedNote;
    }
    public void setUserChangedId(String userChangedId)
    {
        this.userChangedId = userChangedId;
    }

    public String getUserChangedId()
    {
        return userChangedId;
    }
    public void setUserChanged(String userChanged) 
    {
        this.userChanged = userChanged;
    }

    public String getUserChanged() 
    {
        return userChanged;
    }
    public void setChangedTime(Date changedTime) 
    {
        this.changedTime = changedTime;
    }

    public Date getChangedTime() 
    {
        return changedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectId", getProjectId())
            .append("projectNumber", getProjectNumber())
            .append("projectName", getProjectName())
            .append("changedContent", getChangedContent())
            .append("changedNote", getChangedNote())
            .append("userChangedId", getUserChangedId())
            .append("userChanged", getUserChanged())
            .append("changedTime", getChangedTime())
            .toString();
    }
}
